package com.basic.contant;

public class DynamicContant {

    /**
     * 动态发布后，默认评论数量为0
     */
    public static final Integer DEFAULT_DYNAMIC_COMMENT_COUNT = 0;

    /**
     * 动态分页查询，默认当前页最小是1
     */
    public static final Integer DEFAULT_NOW_PAGE_MIN_VALUE = 1;

    /**
     * 动态分页查询，默认当前页大小最小是1
     */
    public static final Integer DEFAULT_PAGE_SIZE_MIN_VALUE = 1;

    /**
     * 默认分页查询动态数量最小为1
     */
    public static final Integer DEFAULT_DYNAMIC_COUNT_MIN_VALUE = 1;

    /**
     * 默认投票最小值2
     */
    public static final Integer DEFAULT_VOTE_OPTIONS_SIZE_MIN_VALUE = 2;

    /**
     * 默认投票的数量为0
     */
    public static final Integer DEFAULT_TAKE_VOTE_COUNT = 0;


    public static final String DEFAULT_LIKED_SET_PREFIX = "default_liked_set_preefix_";


    public static final Long DEFAULT_LIKED_SUCCESED = 1L;

    public static final Long DEFAULT_LIKED_FAILED = 0L;

    public static String getLikedKey(String essayId) {
        return DEFAULT_LIKED_SET_PREFIX + essayId;
    }
}
